package com.copyctrl.mapper;

import com.copyctrl.model.CampAnnouncement;
import com.copyctrl.model.CampAnnouncementExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CampAnnouncementMapper {
    long countByExample(CampAnnouncementExample example);

    int deleteByExample(CampAnnouncementExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(CampAnnouncement row);

    int insertSelective(CampAnnouncement row);

    List<CampAnnouncement> selectByExample(CampAnnouncementExample example);

    CampAnnouncement selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") CampAnnouncement row, @Param("example") CampAnnouncementExample example);

    int updateByExample(@Param("row") CampAnnouncement row, @Param("example") CampAnnouncementExample example);

    int updateByPrimaryKeySelective(CampAnnouncement row);

    int updateByPrimaryKey(CampAnnouncement row);
}